package worktime.yft.demo.Entity;

public class User {
    private String UserId;
    private String Password;
    private String Department;
    private boolean Rights;
    private String UserName;

    public User(){}

    public User(String userId,String password,String department,boolean rights,String username){
        UserId = userId;
        Password = password;
        Department = department;
        Rights = rights;
        UserName = username;
    }

    public String getUserId() {
        return UserId;
    }

    public void setUserId(String userId) {
        UserId = userId;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public String getDepartment() {
        return Department;
    }

    public void setDepartment(String department) {
        Department = department;
    }

    public boolean isRights() {
        return Rights;
    }

    public void setRights(boolean rights) {
        Rights = rights;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }
}
